﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

using Bricks.Component.Utils;
using Bricks.Site.Models;
using System.Collections;


namespace Bricks.Business.Service
{
    public interface IFlowProcessMessageService
    {
        List<FlowProcessMessageView> GetFlowProcessMessage(string userName);

        List<FlowProcessMessageView> GetFlowProcessMessageForBaklogTask(string userName);

        List<FlowProcessMessageView> GetFlowProcessMessageForProcessTask(string userName);

        List<FlowProcessMessageView> GetFlowProcessMessage(string recordID,string userName, string processType);

        FlowProcessMessageView GetFlowProcessMessageByID(Guid ID);

        void AddFlowProcessMessage(List<FlowProcessMessageView> addList);

        void UpdateFlowProcessMessage(FlowProcessMessageView flowProcessMessageView);
        
        void ProcessFlowProcessMessageState(string recordID, string flowNodeCodeStr);
    }
}